import service from "./request.js";

export default {
  // 重置用户密码
  reset(query) {
    return service({
      method: "PUT",
      url: "/admin-api/system/pwd/reset-password",
      data: query,
    });
  },
  // 解锁用户密码
  unlock(query) {
    return service({
      method: "POST",
      url: "/admin-api/system/pwd/unlock-password",
      params: query,
    });
  },
  // 获得密码分页列表
  page(query) {
    return service({
      method: "GET",
      url: "/admin-api/system/pwd/page",
      params: query,
    });
  },
};
